import request from '@/utils/request'
// -------- 内容模板 --------

let BASE_ADDRESS = '/doc/law'

//  分页查询
export const getContentListApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

// 根据id查询
export const getDetailByIdtApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: "get",
        params
    })
}